using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN CachTinhHocBongEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: CachTinhHocBongEntity</para>
	/// <para>Description: ClassCachTinhHocBongEntity store data of table CachTinhHocBong</para>
	///</summary>

	[DataContract]
	public partial class CachTinhHocBongEntity{


		private bool _InternalChangedIsNullCachTinhHocBong_ID=true;
		private bool _IsNullCachTinhHocBong_ID=true;
		private bool _InternalChangedIsNullTenCachTinh=true;
		private bool _IsNullTenCachTinh=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private bool _InternalChangedIsNullCachTinh=true;
		private bool _IsNullCachTinh=true;
		private int _CachTinhHocBong_ID;
		private string _TenCachTinh;
		private string _GhiChu;
		private Byte _CachTinh;
		[DataMember]
		public bool IsNullCachTinhHocBong_ID{
			get{return _IsNullCachTinhHocBong_ID;}
			set{if(!_InternalChangedIsNullCachTinhHocBong_ID)_IsNullCachTinhHocBong_ID=value;}
		}
		[DataMember]
		public bool IsNullTenCachTinh{
			get{return _IsNullTenCachTinh;}
			set{if(!_InternalChangedIsNullTenCachTinh)_IsNullTenCachTinh=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public bool IsNullCachTinh{
			get{return _IsNullCachTinh;}
			set{if(!_InternalChangedIsNullCachTinh)_IsNullCachTinh=value;}
		}
		[DataMember]
		public int CachTinhHocBong_ID{
			get{return _CachTinhHocBong_ID;}
			set{
				_CachTinhHocBong_ID=value;
				if(_CachTinhHocBong_ID!=null){
					_IsNullCachTinhHocBong_ID=false;
					_InternalChangedIsNullCachTinhHocBong_ID=true;
				}
			}
		}
		[DataMember]
		public string TenCachTinh{
			get{return _TenCachTinh;}
			set{
				_TenCachTinh=value;
				if(_TenCachTinh!=null){
					_IsNullTenCachTinh=false;
					_InternalChangedIsNullTenCachTinh=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
		[DataMember]
		public Byte CachTinh{
			get{return _CachTinh;}
			set{
				_CachTinh=value;
				if(_CachTinh!=null){
					_IsNullCachTinh=false;
					_InternalChangedIsNullCachTinh=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END CachTinhHocBongEntityBase*****************************************/
	/*****************************************************************************************************/
}

